package com.leostadyn.stackfarm.timestatistics.model.bean;

import java.io.Serializable;

public class UserListBean implements Serializable, Comparable<UserListBean> {

    /**
     * createdTime : 0
     * name : string
     * postName : string
     * uid : string
     * userName : string
     */

    private long createdTime;
    private String name;
    private String postName;
    private String uid;
    private String userName;


    public long getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(long createdTime) {
        this.createdTime = createdTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public int compareTo(UserListBean o) {
        return Long.compare(this.createdTime, o.createdTime);
    }
}
